package com.nhjf.admin.util;

import java.util.List;
import java.util.Map;

import org.apache.shiro.SecurityUtils;
import org.apache.shiro.session.Session;

/**
 * 权限处理
 * @author:   [ ]
*/
public class Jurisdiction {

	/**shiro管理的session
	 * @return
	 */
	public static Session getSession(){
		//Subject currentUser = SecurityUtils.getSubject();  
		Session session=SecurityUtils.getSubject().getSession();
		session.setTimeout(1800000);
		return session;
	}
}
